<!-- 教师管理 -->
<div class="wrapper">
	<!-- second-nav -->
	<!-- <div ng-include="'main/manage/nav.html'"></div> -->
	<!-- wrapper-content -->
	<section class="wrapper-content">
		<div class="container-fluid">
			<h2 class="content-title"><span class="margin-right-10">教师管理</span><small>教师列表</small></h2>
		</div>
		<!-- btn-row -->
		<div class="btn-row clearfix">
			<div class="col-md-6">
				<button class="btn btn-primary" ng-click="openAdd()">添加</button>
			</div>
		</div>
		<!-- table-row -->
		<div class="row">
			<div class="container-fluid">
				<div class="col-md-12">
					<table class="table table-bordered" ng-table="teacherList">
						<tr ng-repeat="item in $data">
							<td title="'姓名'" sortable="'name'">{{item.name}}</td>
							<td title="'员工编号'" sortable="'code'">{{item.code}}</td>
							<td title="'绑定账号名'" sortable="'userId'">{{item.user.name}}</td>
							<td title="'性别'" sortable="'sex'">{{item.sex | parseSex}}</td>
							<td title="'职务'" sortable="'title'">{{item.title}}</td>
							<td title="'办公电话'" sortable="'tel'">{{item.tel}}</td>
							<td title="'手机'" sortable="'mobile'">{{item.mobile}}</td>
							<td title="'电子邮件'" sortable="'email'">{{item.email}}</td>
							<td title="'操作'">
								<div class="btn-group">
	                                <button href="javascript:void(0);" ng-click="openEdit(item);" class="btn btn-sm btn-success" title="编辑"><i class="fa fa-pencil"></i></button>
	                                <button href="javascript:void(0);" ng-click="openDel(item);" class="btn btn-sm btn-warning" title="删除"><i class="fa fa-times"></i></button>
	                            </div>
							</td>
						</tr>
					</table>
					<div class="row">
						<div class="col-md-6">
							<div class="pull-left btn btn-default">总数：<span class="badge">{{ totalRow }}</span></div>	
						</div>
						<div class="col-md-6">
							<!-- 分页 -->
							<nav>
								<ul class="pagination ng-table-pagination fr">
									<li>
										<a ng-click="previous()"><span>上一页</span></a>
									</li>
									<li ng-repeat="page in pageList" ng-class="{active: isActivePage(page)}" >
										<a ng-click="getTeacherList(page)">{{ page }}</a>
									</li>
									<li>
										<a ng-click="next()"><span>下一页</span></a>
									</li>
								</ul>
							</nav>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<!-- 新增 addTeaModel -->
		<div class="modal" id="addTeaModel" tabindex="-1" role="dialog" aria-labelledby="addTeaModel" aria-hidden="true">
			<div class="modal-dialog modal-lg" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        				<h3 class="modal-title">新建教师</h3>
					</div>
					<div class="modal-body">
						<div class="form-horizontal">
							<!-- 基本信息 -->
							<div class="form-header clearfix margin-bottom-10">
								<div class="font-green fl form-title">
									基本信息
								</div>
								<div class="fr"><a href="javascript:;" class="form-title-btn fa fa-chevron-down"></a></div>
							</div>
							<div class="row form-body">
								<div class="form-group">
									<!-- 姓名 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="true" class="text-danger">*</span>
											<label for="inputName">姓名</label>
										</div>
										<div class="col-md-8">
											<input type="text" id="inputName" ng-model="newTeaItem.name" ng-change="watchName('new')" class="form-control">
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.name"></div>
									</div>
									<!-- 职务 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="title">职务</label>
										</div>
										<div class="col-md-8">
											<ui-select ng-model="newTeaItem.select.title">
												<ui-select-match placeholder="从列表中选取或直接填写职务名称">
													<span>{{$select.selected.name}}</span>
												</ui-select-match>
												<ui-select-choices repeat="item in newTeaItem.titleList | filter: $select.search">
													<div ng-bind="item.name"></div>
												</ui-select-choices>
											</ui-select>
										</div>
									</div>
								</div>
								<div class="form-group">
									<!-- 员工编号 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="code">员工编号</label>
										</div>
										<div class="col-md-8">
											<input type="text" id="code" ng-model="newTeaItem.code" ng-change="watchCode('new')" class="form-control">
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.code"></div>
									</div>
									<!-- 关联用户名 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="userId">关联用户名</label>
										</div>
										<div class="col-md-8">
											<select id="userId" class="form-control" ng-model="newTeaItem.select.userId" ng-options="item.name for item in newTeaItem.userList">
												<option value="">-- 请选择 --</option>
											</select>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.userId"></div>
									</div>
								</div>
								<div class="form-group">
									<!-- 状态 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="status">状态</label>
										</div>
										<div class="col-md-8">
											<select id="status" class="form-control" ng-model="newTeaItem.select.status" ng-options="item.name for item in newTeaItem.statusList">
											</select>
										</div>
									</div>
								</div>
								<div class="form-group">
									<!-- 入职日期 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="joinedDate">入职日期</label>
										</div>
										<div class="col-md-8">
											<div class="input-group">
												<input type="text" class="form-control myDatePicker" data-format="yyyy-mm-dd" id="joinedDate" ng-model="newTeaItem.joinedDate">
												<span class="input-group-btn">
													<button class="btn default" type="button" ng-click="cleanDate($event.target)"><i class="fa fa-times"></i></button>
													<button class="btn default" type="button" ng-click="openDate($event.target)"><i class="fa fa-calendar"></i></button>
												</span>
											</div>
										</div>
										<div class="col-md-4 text-danger"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.joinedDate"></div>
									</div>
									<!-- 办公电话 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="tel">办公电话</label>
										</div>
										<div class="col-md-8">
											<div class="input-group">
												<span class="input-group-addon"><i class="fa fa-mobile"></i></span>
												<input ng-model="newTeaItem.tel" ng-change="watchTel('new')" id="tel" name="tel" class="form-control" type="text">
											</div>
										</div>
										<div class="col-md-4 text-danger"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.tel"></div>
									</div>
								</div>
								<div class="form-group">
									<!-- 手机 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="mobile">手机</label>
										</div>
										<div class="col-md-8">
											<div class="input-group">
												<span class="input-group-addon"><i class="fa fa-mobile"></i></span>
												<input ng-model="newTeaItem.mobile" ng-change="watchMobile('new')" id="mobile" name="mobile" class="form-control" type="text">
											</div>
										</div>
										<div class="col-md-4 text-danger"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.mobile"></div>
									</div>
									<!-- 电子邮件 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="email">电子邮件</label>
										</div>
										<div class="col-md-8">
											<input type="text" id="email" ng-model="newTeaItem.email" ng-change="watchEmail('new')" class="form-control">
										</div>
										<div class="col-md-4 text-danger"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.email"></div>
									</div>
								</div>
							</div>
							<!-- 档案信息 -->
							<div class="form-header clearfix margin-bottom-10">
								<div class="font-green fl form-title">
									<span class="caption-subject">档案信息</span>
								</div>
								<div class="fr"><a href="javascript:;" class="form-title-btn fa fa-chevron-down"></a></div>
							</div>
							<div class="row form-body">
								<div class="form-group">
									<!-- 性别 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="sex">性别</label>
										</div>
										<div class="col-md-8">
											<select id="sex" class="form-control" ng-model="newTeaItem.select.sex" ng-options="item.name for item in newTeaItem.sexList">
												<option value="">-- 请选择 --</option>
											</select>
										</div>
									</div>
									<!-- 生日 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="birthday">生日</label>
										</div>
										<div class="col-md-8">
											<div class="input-group">
												<input type="text" class="form-control myDatePicker" data-format="yyyy-mm-dd" id="birthday" ng-model="newTeaItem.birthday">
												<span class="input-group-btn">
													<button class="btn default" type="button" ng-click="cleanDate($event.target)"><i class="fa fa-times"></i></button>
													<button class="btn default" type="button" ng-click="openDate($event.target)"><i class="fa fa-calendar"></i></button>
												</span>
											</div>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.birthday"></div>
									</div>
								</div>
								<div class="form-group">
									<!-- 国籍 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="countryId">国籍</label>
										</div>
										<div class="col-md-8">
											<select id="countryId" class="form-control" ng-model="newTeaItem.select.countryId" ng-options="item.name for item in newTeaItem.countryList">
												<option value="">-- 请选择 --</option>
											</select>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.countryId"></div>
									</div>
									<!-- 婚姻状态 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="maritalStatus">婚姻状态</label>
										</div>
										<div class="col-md-8">
											<select id="maritalStatus" class="form-control" ng-model="newTeaItem.select.maritalStatus" ng-options="item.name for item in newTeaItem.maritalStatusList">
												<option value="">-- 请选择 --</option>
											</select>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.maritalStatus"></div>
									</div>
								</div>
								<div class="form-group">
									<!-- 毕业院校 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="school">毕业院校</label>
										</div>
										<div class="col-md-8">
											<input type="text" id="school" ng-model="newTeaItem.school" ng-change="watchSchool('new')" class="form-control">
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.school"></div>
									</div>
									<!-- 学历 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="education">学历</label>
										</div>
										<div class="col-md-8">
											<select id="education" class="form-control" ng-model="newTeaItem.select.education" ng-options="item.name for item in newTeaItem.educationList">
												<option value="">-- 请选择 --</option>
											</select>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.education"></div>
									</div>
								</div>
							</div>
							<!-- 家庭及联系人信息 -->
							<div class="form-header clearfix margin-bottom-10">
								<div class="font-green fl form-title">
									<span class="caption-subject">家庭及联系人信息</span>
								</div>
								<div class="fr"><a href="javascript:;" class="form-title-btn fa fa-chevron-down"></a></div>
							</div>
							<div class="row form-body">
								<div class="form-group">
									<!-- 紧急联系人 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="contact">紧急联系人</label>
										</div>
										<div class="col-md-8">
											<input type="text" id="contact" class="form-control" ng-model="newTeaItem.contact" ng-change="watchContact('new')">
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.contact"></div>
									</div>
									<!-- 紧急联系电话 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="contactTel">紧急联系电话</label>
										</div>
										<div class="col-md-8">
											<div class="input-group">
												<span class="input-group-addon"><i class="fa fa-mobile"></i></span>
												<input ng-model="newTeaItem.contactTel" ng-change="watchContactTel('new')" id="contactTel" name="contactTel" class="form-control" type="text">
											</div>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.contactTel"></div>
									</div>
								</div>
								<div class="form-group">
									<!-- 家庭地址 -->
									<div class="col-md-12">
										<div class="control-label col-md-2">
											<span ng-show="false" class="text-danger">*</span>
											<label for="address">家庭地址</label>
										</div>
										<div class="col-md-10">
											<div class="row margin-bottom-10">
												<div class="col-md-4">
													<ui-select ng-model="newTeaItem.select.province" ng-change="selectProvince('new')">
														<ui-select-match placeholder="从列表中选取或直接填写省份">
															<span>{{$select.selected}}</span>
														</ui-select-match>
														<ui-select-choices repeat="item in newTeaItem.provinceList | filter: $select.search">
															<div ng-bind="item"></div>
														</ui-select-choices>
													</ui-select>
													<!-- <select id="province" class="form-control" ng-model="newTeaItem.select.province" ng-options="item for item in newTeaItem.provinceList" ng-change="selectProvince('new')">
														<option value="">-- 请选择 --</option>
													</select> -->
												</div>
												<div class="col-md-4">
													<ui-select ng-model="newTeaItem.select.city" ng-change="selectCity('new')">
														<ui-select-match placeholder="从列表中选取或直接填写城市">
															<span>{{$select.selected}}</span>
														</ui-select-match>
														<ui-select-choices repeat="item in newTeaItem.cityList | filter: $select.search">
															<div ng-bind="item"></div>
														</ui-select-choices>
													</ui-select>
													<!-- <select id="city" class="form-control" ng-model="newTeaItem.select.city" ng-options="item for item in newTeaItem.cityList" ng-change="selectCity('new')">
														<option value="">-- 请选择 --</option>
													</select> -->
												</div>
												<div class="col-md-4">
													<ui-select ng-model="newTeaItem.select.district" ng-change="selectDistrict('new')">
														<ui-select-match placeholder="从列表中选取或直接填写区域">
															<span>{{$select.selected}}</span>
														</ui-select-match>
														<ui-select-choices repeat="item in newTeaItem.districtList | filter: $select.search">
															<div ng-bind="item"></div>
														</ui-select-choices>
													</ui-select>
													<!-- <select id="district" class="form-control" ng-model="newTeaItem.select.district" ng-options="item for item in newTeaItem.districtList" ng-change="selectDistrict('new')">
														<option value="">-- 请选择 --</option>
													</select> -->
												</div>
											</div>
										</div>
										<div class="col-md-2"></div>
										<div class="col-md-10">
											<input type="text" id="address" ng-model="newTeaItem.address" ng-change="watchAddress('new')" class="form-control" placeholder="详细地址">
										</div>
										<div class="col-md-2"></div>
										<div class="col-md-10 text-danger" ng-bind="newTeaItem.warn.address"></div>
									</div>
								</div>
								<div class="form-group">
									<!-- 家庭电话 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="homeTel">家庭电话</label>
										</div>
										<div class="col-md-8">
											<div class="input-group">
												<span class="input-group-addon"><i class="fa fa-mobile"></i></span>
												<input ng-model="newTeaItem.homeTel" id="homeTel" name="homeTel" ng-change="watchHomeTel('new')" class="form-control" type="text">
											</div>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.homeTel"></div>
									</div>
									<!-- 家庭邮编 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="homePostcode">家庭邮编</label>
										</div>
										<div class="col-md-8">
											<input type="text" id="homePostcode" ng-model="newTeaItem.homePostcode" ng-change="watchHomePostcode('new')" class="form-control">
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.homePostcode"></div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-primary" ng-click="addTea()">提交</button>
						<button type="button" class="btn btn-warning" data-dismiss="modal">取消</button>
					</div>
				</div>
			</div>
		</div>

		<!-- 删除 delTeaModel -->
		<div class="modal" id="delTeaModel" tabindex="-1" role="dialog">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        				<h3 class="modal-title">删除教师</h3>
					</div>
					<div class="modal-body">
						<p class="text-danger text-center">删除将造成相关数据丢失，请确认是否继续删除。</p>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-primary" ng-click="delTea()">确认</button>
						<button type="button" class="btn btn-warning" data-dismiss="modal">取消</button>
					</div>
				</div>
			</div>
		</div>
		
		<!-- 修改 editTeaModel -->
		<div class="modal" id="editTeaModel" tabindex="-1" role="dialog" aria-labelledby="editTeaModel" aria-hidden="true">
			<div class="modal-dialog modal-lg" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        				<h3 class="modal-title">新建教师</h3>
					</div>
					<div class="modal-body">
						<div class="form-horizontal">
							<!-- 基本信息 -->
							<div class="form-header clearfix margin-bottom-10">
								<div class="font-green fl form-title">
									基本信息
								</div>
								<div class="fr"><a href="javascript:;" class="form-title-btn fa fa-chevron-down"></a></div>
							</div>
							<div class="row form-body">
								<div class="form-group">
									<!-- 姓名 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="true" class="text-danger">*</span>
											<label for="inputName_mod">姓名</label>
										</div>
										<div class="col-md-8">
											<input type="text" id="inputName_mod" ng-model="modTeaItem.teacher.name" ng-change="watchName('edit')" class="form-control">
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.name"></div>
									</div>
									<!-- 职务 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="title_mod">职务</label>
										</div>
										<div class="col-md-8">
											<ui-select ng-model="modTeaItem.select.title">
												<ui-select-match placeholder="从列表中选取或直接填写职务名称">
													<span>{{$select.selected.name}}</span>
												</ui-select-match>
												<ui-select-choices repeat="item in modTeaItem.titleList | filter: $select.search">
													<div ng-bind="item.name"></div>
												</ui-select-choices>
											</ui-select>
										</div>
									</div>
								</div>
								<div class="form-group">
									<!-- 员工编号 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="code_mod">员工编号</label>
										</div>
										<div class="col-md-8">
											<input type="text" id="code_mod" ng-model="modTeaItem.teacher.code" ng-change="watchCode('edit')" class="form-control">
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.code"></div>
									</div>
									<!-- 关联用户名 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="userId_mod">关联用户名</label>
										</div>
										<div class="col-md-8">
											<select id="userId_mod" class="form-control" ng-model="modTeaItem.select.userId" ng-options="item.name for item in modTeaItem.userList">
												<option value="">-- 请选择 --</option>
											</select>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.userId"></div>
									</div>
								</div>
								<div class="form-group">
									<!-- 状态 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="status_mod">状态</label>
										</div>
										<div class="col-md-8">
											<select id="status_mod" class="form-control" ng-model="modTeaItem.select.status" ng-options="item.name for item in modTeaItem.statusList">
											</select>
										</div>
									</div>
								</div>
								<div class="form-group">
									<!-- 入职日期 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="joinedDate_mod">入职日期</label>
										</div>
										<div class="col-md-8">
											<div class="input-group">
												<input type="text" class="form-control myDatePicker" data-format="yyyy-mm-dd" id="joinedDate_mod" ng-model="modTeaItem.teacher.joinedDate">
												<span class="input-group-btn">
													<button class="btn default" type="button" ng-click="cleanDate($event.target)"><i class="fa fa-times"></i></button>
													<button class="btn default" type="button" ng-click="openDate($event.target)"><i class="fa fa-calendar"></i></button>
												</span>
											</div>
										</div>
										<div class="col-md-4 text-danger"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.joinedDate"></div>
									</div>
									<!-- 办公电话 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="tel_mod">办公电话</label>
										</div>
										<div class="col-md-8">
											<div class="input-group">
												<span class="input-group-addon"><i class="fa fa-mobile"></i></span>
												<input ng-model="modTeaItem.teacher.tel" ng-change="watchTel('edit')" id="tel_mod" name="tel_mod" class="form-control" type="text">
											</div>
										</div>
										<div class="col-md-4 text-danger"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.tel"></div>
									</div>
								</div>
								<div class="form-group">
									<!-- 手机 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="mobile_mod">手机</label>
										</div>
										<div class="col-md-8">
											<div class="input-group">
												<span class="input-group-addon"><i class="fa fa-mobile"></i></span>
												<input ng-model="modTeaItem.teacher.mobile" ng-change="watchMobile('edit')" id="mobile_mod" name="mobile_mod" class="form-control" type="text">
											</div>
										</div>
										<div class="col-md-4 text-danger"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.mobile"></div>
									</div>
									<!-- 电子邮件 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="email">电子邮件</label>
										</div>
										<div class="col-md-8">
											<input type="text" id="email_mod" ng-model="modTeaItem.teacher.email" ng-change="watchEmail('edit')" class="form-control">
										</div>
										<div class="col-md-4 text-danger"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.email"></div>
									</div>
								</div>
							</div>
							<!-- 档案信息 -->
							<div class="form-header clearfix margin-bottom-10">
								<div class="font-green fl form-title">
									<span class="caption-subject">档案信息</span>
								</div>
								<div class="fr"><a href="javascript:;" class="form-title-btn fa fa-chevron-down"></a></div>
							</div>
							<div class="row form-body">
								<div class="form-group">
									<!-- 性别 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="sex_mod">性别</label>
										</div>
										<div class="col-md-8">
											<select id="sex_mod" class="form-control" ng-model="modTeaItem.select.sex" ng-options="item.name for item in modTeaItem.sexList">
												<option value="">-- 请选择 --</option>
											</select>
										</div>
									</div>
									<!-- 生日 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="birthday_mod">生日</label>
										</div>
										<div class="col-md-8">
											<div class="input-group">
												<input type="text" class="form-control myDatePicker" data-format="yyyy-mm-dd" id="birthday_mod" ng-model="modTeaItem.teacher.birthday">
												<span class="input-group-btn">
													<button class="btn default" type="button" ng-click="cleanDate($event.target)"><i class="fa fa-times"></i></button>
													<button class="btn default" type="button" ng-click="openDate($event.target)"><i class="fa fa-calendar"></i></button>
												</span>
											</div>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.birthday"></div>
									</div>
								</div>
								<div class="form-group">
									<!-- 国籍 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="countryId_mod">国籍</label>
										</div>
										<div class="col-md-8">
											<select id="countryId_mod" class="form-control" ng-model="modTeaItem.select.countryId" ng-options="item.name for item in modTeaItem.countryList">
												<option value="">-- 请选择 --</option>
											</select>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.countryId"></div>
									</div>
									<!-- 婚姻状态 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="maritalStatus">婚姻状态</label>
										</div>
										<div class="col-md-8">
											<select id="maritalStatus" class="form-control" ng-model="modTeaItem.select.maritalStatus" ng-options="item.name for item in modTeaItem.maritalStatusList">
												<option value="">-- 请选择 --</option>
											</select>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.maritalStatus"></div>
									</div>
								</div>
								<div class="form-group">
									<!-- 毕业院校 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="school_mod">毕业院校</label>
										</div>
										<div class="col-md-8">
											<input type="text" id="school_mod" ng-model="modTeaItem.teacher.school" ng-change="watchSchool('edit')" class="form-control">
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.school"></div>
									</div>
									<!-- 学历 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="education">学历</label>
										</div>
										<div class="col-md-8">
											<select id="education" class="form-control" ng-model="modTeaItem.select.education" ng-options="item.name for item in modTeaItem.educationList">
												<option value="">-- 请选择 --</option>
											</select>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="newTeaItem.warn.education"></div>
									</div>
								</div>
							</div>
							<!-- 家庭及联系人信息 -->
							<div class="form-header clearfix margin-bottom-10">
								<div class="font-green fl form-title">
									<span class="caption-subject">家庭及联系人信息</span>
								</div>
								<div class="fr"><a href="javascript:;" class="form-title-btn fa fa-chevron-down"></a></div>
							</div>
							<div class="row form-body">
								<div class="form-group">
									<!-- 紧急联系人 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="contact_mod">紧急联系人</label>
										</div>
										<div class="col-md-8">
											<input type="text" id="contact_mod" class="form-control" ng-model="modTeaItem.teacher.contact" ng-change="watchContact('edit')">
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.contact"></div>
									</div>
									<!-- 紧急联系电话 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="contactTel_mod">紧急联系电话</label>
										</div>
										<div class="col-md-8">
											<div class="input-group">
												<span class="input-group-addon"><i class="fa fa-mobile"></i></span>
												<input ng-model="modTeaItem.teacher.contactTel" ng-change="watchContactTel('edit')" id="contactTel_mod" name="contactTel_mod" class="form-control" type="text">
											</div>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.contactTel"></div>
									</div>
								</div>
								<div class="form-group">
									<!-- 家庭地址 -->
									<div class="col-md-12">
										<div class="control-label col-md-2">
											<span ng-show="false" class="text-danger">*</span>
											<label for="address_mod">家庭地址</label>
										</div>
										<div class="col-md-10">
											<div class="row margin-bottom-10">
												<div class="col-md-4">
													<ui-select ng-model="modTeaItem.select.province" ng-change="selectProvince('edit')">
														<ui-select-match placeholder="从列表中选取或直接填写省份">
															<span>{{$select.selected}}</span>
														</ui-select-match>
														<ui-select-choices repeat="item in modTeaItem.provinceList | filter: $select.search">
															<div ng-bind="item"></div>
														</ui-select-choices>
													</ui-select>

													<!-- <select id="province_mod" class="form-control" ng-model="modTeaItem.select.province" ng-options="item for item in modTeaItem.provinceList" ng-change="selectProvince('edit')">
														<option value="">-- 请选择 --</option>
													</select> -->
												</div>
												<div class="col-md-4">
													<ui-select ng-model="modTeaItem.select.city" ng-change="selectCity('edit')">
														<ui-select-match placeholder="从列表中选取或直接填写城市">
															<span>{{$select.selected}}</span>
														</ui-select-match>
														<ui-select-choices repeat="item in modTeaItem.cityList | filter: $select.search">
															<div ng-bind="item"></div>
														</ui-select-choices>
													</ui-select>
													<!-- <select id="city_mod" class="form-control" ng-model="modTeaItem.select.city" ng-options="item for item in modTeaItem.cityList" ng-change="selectCity('edit')">
														<option value="">-- 请选择 --</option>
													</select> -->
												</div>
												<div class="col-md-4">
													<ui-select ng-model="modTeaItem.select.district" ng-change="selectDistrict('edit')">
														<ui-select-match placeholder="从列表中选取或直接填写区域">
															<span>{{$select.selected}}</span>
														</ui-select-match>
														<ui-select-choices repeat="item in modTeaItem.districtList | filter: $select.search">
															<div ng-bind="item"></div>
														</ui-select-choices>
													</ui-select>
													<!-- <select id="district_mod" class="form-control" ng-model="modTeaItem.select.district" ng-options="item for item in modTeaItem.districtList" ng-change="selectDistrict('edit')">
														<option value="">-- 请选择 --</option>
													</select> -->
												</div>
											</div>
										</div>
										<div class="col-md-2"></div>
										<div class="col-md-10">
											<input type="text" id="address_mod" ng-model="modTeaItem.teacher.address" ng-change="watchAddress('edit')" class="form-control" placeholder="详细地址">
										</div>
										<div class="col-md-2"></div>
										<div class="col-md-10 text-danger" ng-bind="modTeaItem.warn.address"></div>
									</div>
								</div>
								<div class="form-group">
									<!-- 家庭电话 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="homeTel_mod">家庭电话</label>
										</div>
										<div class="col-md-8">
											<div class="input-group">
												<span class="input-group-addon"><i class="fa fa-mobile"></i></span>
												<input ng-model="modTeaItem.teacher.homeTel" id="homeTel_mod" name="homeTel" ng-change="watchHomeTel('edit')" class="form-control" type="text">
											</div>
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.homeTel"></div>
									</div>
									<!-- 家庭邮编 -->
									<div class="col-md-6">
										<div class="control-label col-md-4">
											<span ng-show="false" class="text-danger">*</span>
											<label for="homePostcode_mod">家庭邮编</label>
										</div>
										<div class="col-md-8">
											<input type="text" id="homePostcode_mod" ng-model="modTeaItem.teacher.homePostcode" ng-change="watchHomePostcode('edit')" class="form-control">
										</div>
										<div class="col-md-4"></div>
										<div class="col-md-8 text-danger" ng-bind="modTeaItem.warn.homePostcode"></div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-primary" ng-click="editTea()">提交</button>
						<button type="button" class="btn btn-warning" data-dismiss="modal">取消</button>
					</div>
				</div>
			</div>
		</div>

		<!-- 提示 infoModel -->
		<info-modal msg="msg" visible="visible"></info-modal>
	</section>
</div>
